package com.cropdoctor.service;

import com.cropdoctor.common.Result;
import com.cropdoctor.model.dto.PostDto;
import com.cropdoctor.model.po.CommentPo;
import com.cropdoctor.model.vo.PublishCourseInfoVO;

public interface CommentService {
    Result<Long> createComment(CommentPo commentPo);

    Result<String> userDeleteComment(long idComment);

    Result<PostDto> getPostWithAllComment(long idPost);

    Result<CommentPo> getComment(long idComment);

    Result<String> likeComment(long idComment);

    Result<String> adminDeleteComment(long idComment);

    Result<PublishCourseInfoVO> getCourseWithAllComment(long idCourse);
}
